{if $cart_list}
<div class="buycar-list">
  <div class="list">
    {foreach $cart_list as $k=>$v}
    <dl class="clearfix" data-sku_id="{$v.sku_id}" data-is_promotion="{$v.is_promotion}">
      <dt><img class="js_openLink" data-target="_blank" data-href="{AnUrl("goods/{$v.goods_id}")}" src="{_image($v.goods_cover)}"></dt>
      <dd class="name not-line js_openLink" data-target="_blank" data-href="{AnUrl("goods/{$v.goods_id}")}"><a href="javascript:;">{$v.goods_title}</a></dd>
      <dd>{number_format($v.goods_price)}元 x {$v.goods_num}</dd>
      <dd class="del-box"><a href="javascript:;" class="del js_topCartDelete" ></a></dd>
    </dl>
    {/foreach}
  </div>
  <div class="bottom clearfix">
    <div class="left">
      <span class="num js_topCartNum">共计{cart_helper::get_cart_num()}件商品</span>
      <span class="prize">合计：<em class="js_topCartCount">{cart_helper::get_cart_price_total()}元</em></span>
    </div>
    <a href="javascript:void(0);" class="pay-btn js_openLink" data-href="{AnUrl('cart')}">去购物车结算</a>
  </div>
</div>
{else}
<div class="middle">
  <img src="{$smarty.const.SITE_URL}/images/buy-car.png" width="230" height="270" class="hidden"><img src="{$smarty.const.SITE_URL}/images/buy-car-x2.png" width="115" height="135" ><p class="text">您的购物车<br/>现在还是空的呢</p>
</div>
{/if}